package com.graduate.daydayup.util

fun alphaColor(color: Int, alpha: Float): Int {
    val a = Math.min(255, Math.max(0, (alpha * 255).toInt())) shl 24
    val rgb = 0x00ffffff and color
    return a + rgb
}